<?php


class Includer{

    public static function add($phpFile){
        if(FileSystem::fileExists($phpFile)){
            require_once($phpFile);
            return true;
        }
        return false;
    }

}




// Inclusion des controlers
require_once('php/controler/CtrlSession.php');
require_once('php/controler/CtrlDatabase.php');
require_once('php/controler/CtrlSecurity.php');
require_once('php/controler/CtrlNavigation.php');
require_once('php/controler/CtrlDate.php');
require_once('php/controler/CtrlForm.php');
require_once('php/controler/CtrlQuery.php');
require_once('php/controler/CtrlFileSystem.php');
require_once('php/controler/CtrlMessage.php');
require_once('php/controler/CtrlProperties.php');
require_once('php/controler/CtrlTexte.php');
require_once('php/controler/CtrlPdf.php');
require_once('php/controler/CtrlAdministration.php');
require_once('php/controler/CtrlPagination.php');
require_once('php/controler/CtrlImage.php');
require_once('php/controler/CtrlBackup.php');
require_once('php/controler/CtrlUpload.php');
require_once('php/controler/CtrlDownload.php');
require_once('php/controler/CtrlTemplate.php');
require_once('php/controler/CtrlZip.php');

// Inclusion des services
require_once('php/service/SvcCommun.php');



//Classe mère des beans de vue
require_once('php/model/View.php');
//Liste des bean de vue
require_once('php/model/view/AvertissementView.php');
require_once('php/model/view/BandeAnnonceView.php');
require_once('php/model/view/ContenuHTMLView.php');
require_once('php/model/view/CreneauView.php');
require_once('php/model/view/FilmView.php');
require_once('php/model/view/GenreView.php');
require_once('php/model/view/JourClosView.php');
require_once('php/model/view/PhotoView.php');
require_once('php/model/view/ProfileClientView.php');
require_once('php/model/view/ProgrammationView.php');
require_once('php/model/view/SalleView.php');
require_once('php/model/view/TarifView.php');
require_once('php/model/view/TypeSeanceView.php');
require_once('php/model/view/UtilisateurView.php');
 

//Classe mère des entités
require_once('php/model/Entity.php');
//Liste des entités à charger
require_once('php/model/entity/Avertissement.php');
require_once('php/model/entity/BandeAnnonce.php');
require_once('php/model/entity/ContenuHTML.php');
require_once('php/model/entity/Creneau.php');
require_once('php/model/entity/Film.php');
require_once('php/model/entity/Genre.php');
require_once('php/model/entity/JourClos.php');
require_once('php/model/entity/Photo.php');
require_once('php/model/entity/ProfileClient.php');
require_once('php/model/entity/Programmation.php');
require_once('php/model/entity/Salle.php');
require_once('php/model/entity/Tarif.php');
require_once('php/model/entity/TypeSeance.php');
require_once('php/model/entity/Utilisateur.php');

//Classe non persisitée
require_once('php/model/entity/JourSemaine.php');



?>